#ifndef __WDTXKEY_H_
#define __WDTXKEY_H_

#include "wdtx.h"
#include "wdtx_list.h"

List KEY_NewInstance(uint16_t maxLength);
void KEY_destroy(List list);
void KEY_add(List group,GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin);
void KEY_addCustom(List group,GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin);
uint8_t KEY_scan(List group);
uint8_t KEY_scanTogether(List group);

#endif
